package com.guodefu.demo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Description 启动类
 * @Author guodefu909
 * @Date 2024-08-23 01:11:02
 */
@Slf4j
@SpringBootApplication
public class Application implements CommandLineRunner {

    @Value("${spring.application.name}")
    private String applicationName;

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

    @Override
    public void run(String... args) {
        log.info(">>>>>>>>>[Application start success!]<<<<<<<<<");
    }


}
